import type { CreateAxiosDefaults } from 'axios'

export function baseOptions() {
  return {
    baseURL: '/api',
    timeout: 10e3,
    headers: {
      Accept: 'application/json',
      'Content-Type': 'application/json',
    },
  } as CreateAxiosDefaults
}
